<#include "/page/common/_layout.html"/>
<@layout activebar="user" html_title="异常管理">

<div class="index-background">
<div class="page-header">
<ul class="nav nav-tabs">
   <li class="active"><a href="#">异常管理</a></li>
</ul>
</div>
	<table class="table table-bordered table-hover">
		<thead>
			<tr>
				<th width="2%">序号</th>
				<th width="5%">工单编号</th>
				<th width="4%">申报人员</th>
				<th width="8%">申报时间</th>
				<th width="5%">处理人员</th>
				<th width="8%">处理时间</th>
				<th width="5%">负责人员</th>
				<th width="5%">状态</th>
				<th width="4%">受理时间</th>
				<th width="8%">操作</th>
			</tr>
		</thead>
		<tbody>
			<#list orderPage.getList() as order>
			<tr>
				<td style="text-align:left;">${(order_index+1)!}</td>
				<td style="text-align:left;">${(order.oorderid)!}</td>
				<td style="text-align:left;">${(order.uoffername)!}</td>
				<td style="text-align:left;">${(order.ooffertime)!}</td>
				<td style="text-align:left;">${(order.udealname)!}</td>
				<td style="text-align:left;">${(order.odealtime)!}</td>
				<td></td>
				<td style="text-align:left;"><#if (order.ostatus)=0>已处理<#elseif (order.ostatus)=1>未处理<#elseif (order.ostatus)=2>超时未处理</#if></td>
				<td style="text-align:left;"><#if (order.ospendtime)??>${(order.ospendtime)!}小时<#else>0</#if></td>
				<td style="text-align:left;">
				<a class="update" href="#" >查看</a> 
				</td>
			</tr>
			</#list>
			
			<#if orderPage.getList().size()!=10>
			<#assign size=(10-orderPage.getList().size())>
				<#list 1..size as t>
					<tr>
						<td>${(orderPage.getList().size()+t)!}</td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
				</#list>
			</#if>
		</tbody>
	</table>
	<#include "/app/common/inc/_paginate.html" />
	<@paginate currentPage=orderPage.pageNumber totalPage=orderPage.totalPage actionUrl="/admin/exception/" />
</div>
</@layout>